<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/frame.css"/>
<#--<link rel="stylesheet" href="/css/add.css"/>-->
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-validation/jquery.validate.min.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/common/common.js"></script>
<body>

<div class="l_err" style="wid 100%; margin-top: 2px;"></div>
<form id="form" name="form" class="form-horizontal" method="post"
      action="/reportManage/uploadReportVersion"
      enctype="multipart/form-data">
    <input id="dataUrl" value="${dataUrl}" type="hidden"/>
    <input type="hidden" id="personId" value="${personId}"/>
    <section class="">
        <div class="form-layer-group clearfix">
            <input name="caption" type="hidden" id="reportName" value=""/>
            <input  type="hidden" id="projectIdD" value="${projectId}"/>
            <input  type="hidden" id="taskIdD" value="${taskId}"/>
            <input  type="hidden" id="subTypeD" value="${subType}"/>

            <div class="form-group-div form-layer-input clearfix" >
                <label class="control-label">工程名称：</label>
                <select id="projectName" name="projectId" class="input-medium form-control m-b"
                        onchange="getTaskList(this.options[this.options.selectedIndex].value)">
                </select>
            </div>
            <div class="form-group-div form-layer-input clearfix" >
                <label class="control-label" >任务：</label>
                <select id="task" name="taskId" class="input-medium form-control m-b" >

                </select>
            </div>
            <div class="form-group-div form-layer-input clearfix" >
                <label class="control-label" >表名：</label>
                <select id="reportType" name="subType" class="input-medium form-control m-b">

                </select>
            </div>
            <div class="form-group-div form-layer-input clearfix" >
                <label class="control-label" >文件：</label>
                <input type="file" id="file" name="file"/>
                <input type="text" class="form-control upload-input" readonly="readonly" id="browseFile"/>
                <label for="file" type="button" id="browse" class="btn btn-cancel" title="点击选择要上传的文件">浏览</label>
            </div>
                <div style="text-align: center;padding:12px 0px">
                    <button type="button" class="cancel btn btn-cancel">取消</button>
                    <button type="submit" id="submitButton" class="btn btn-main">确定</button>
                </div>
        </div>
    </section>
</form>
</body>
<script type="text/javascript" src="${ctx}/js/report/uploadReport.js"></script>
</html>
